/**
 * 
 */
package com.fandy.struts.form;

import org.apache.struts.action.ActionForm;
import com.fandy.struts.Model.*;
/**
 * @author Administrator
 *
 */

public class FormLogin extends ActionForm {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected  Staff s = new Staff();
	
	public Staff getStaff()
	{
		return s;		
	}
	
	public FormLogin setStaff(Staff stf)
	{
		s=stf;	
		return this;
	}
	
	
	public int getStaffid() {
		return s.getStaffid();
	}
	public void setStaffid(int Staffid) {
		this.s.setStaffid(Staffid);
	}
	public String getPassword() {
		return this.s.getPassword();
	}
	public void setPassword(String Password) {
		this.s.setPassword(Password);
	}
	public String getName() {
		return this.s.getName();
	}
	public void setName(String name) {
		this.s.setName(name);
	}
	public int getDepartmentid() {
		return this.s.getDepartmentid();
	}
	public void setDepartmentid(int departmentid) {
		this.s.setDepartmentid(departmentid);
	}
	public String getAddress() {
		return this.s.getAddress();
	}
	public void setAddress(String address) {
		this.s.setAddress(address);
	}
	public String getContact() {
		return this.s.getContact();
	}
	public void setContact(String contact) {
		this.s.setContact(contact);
	}
	public float getSalary() {
		return this.s.getSalary();
	}
	public void setSalary(float salary) {
		this.s.setSalary(salary);
	}
	public String getAuthority() {
		return this.s.getAuthority();
	}
	public void setAuthority(String authority) {
		this.s.setAuthority(authority);
	}

	
}
